			
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using DDF.Entity;
using System.Runtime.Serialization;
using ARR.Entities.Gateways;
		
namespace ARR.Entities
{
	[DataContract]
	[Serializable]	
	public partial class Space : EntityBase
	{
		[DataMember]
		private SpaceRow row;
		
		public Space(SpaceRow row)
		{
			this.row = row;
		}
		
		public Space()
		{
			this.row = new SpaceRow();
		}
		
		[DataMember]
		public int Id
		{
			get { return row.Id; }
			set { row.Id = value; }
		}

		[DataMember]
		public int RangeReviewId
		{
			get { return row.RangeReviewId; }
			set { row.RangeReviewId = value; }
		}

		[DataMember]
		public int StoreId
		{
			get { return row.StoreId; }
			set { row.StoreId = value; }
		}

		[DataMember]
		public int ArticleId
		{
			get { return row.ArticleId; }
			set { row.ArticleId = value; }
		}

		[DataMember]
		public int PlanogramId
		{
			get { return row.PlanogramId; }
			set { row.PlanogramId = value; }
		}

		[DataMember]
		public decimal Width
		{
			get { return row.Width; }
			set { row.Width = value; }
		}

		[DataMember]
		public decimal Facings
		{
			get { return row.Facings; }
			set { row.Facings = value; }
		}

		[DataMember]
		public string Level4
		{
			get { return row.Level4; }
			set { row.Level4 = value; }
		}

		
		public SpaceRow GetRow()
        {
            return row;
        }
		
	} 
} 
